home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 17983 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.0 KB

  1. Path: munnari.OZ.AU!metro!metro!extro!bdsilver
  2. From: bdsilver@extro.ucc.su.OZ.AU (Brett David Silverman)
  3. Newsgroups: comp.lang.c++
  4. Subject: extending c++ to include type bool
  5. Date: 16 Apr 96 23:47:34 GMT
  6. Organization: Information Services, The University of Sydney, NSW, Australia
  7. Distribution: inet
  8. Message-ID: <bdsilver.829698454@extro>
  9. NNTP-Posting-Host: extro.ucc.su.oz.au
  10. Keywords: bool
  11.  
  12.  I want to compile written for BC5, in BC45, however this
  13. question applies to all.
  14. BC5 has, along with standard types, a new type called bool, with
  15. all the standart properties you'd expect bool to have!
  16. It's used extensively in the source I wish to compile, however
  17. BC45 has no type bool.
  18. The question: Is it possible to create a class bool, in such a way
  19. that it looks, smells, feels, talks, etc like the "real" bool?
  20. To the extent that I can create this class so that I am guaranteed that
  21. the source will work, even though I can't see the source?
  22. If so, could you include a frame work to start me on my travels.
  23. Thanks in advanced
  24.     Brett Silverman
  25.  
  26.